<include file="Public/header" />
<div data-role="page" >
    <div data-role="header" data-position="fixed" data-tap-toggle="false"data-theme="f">
      <h1>用户信息</h1>
    </div>
	<div data-role="main" class="ui-content">
		<if condition="$userLoginFlag eq 1">
		<div class="panel text-center" style="padding:20px 20px;">
			<img src="__PUBLIC__/uploads/user/<{$userHomeRow[0]['userlogo']}>" alt="<{$userHomeRow[0]['username']}>"></img>
			<font><strong>用户：<{$userHomeRow[0]['username']}></strong> </font>
			<button type=""><a href="__CONTROLLER__/myChangeLogo/" data-ajax="false" class="btn btn-primary btn-xs width100"><font class="color-fff">更换头像</font></a></button>
			<button type=""><a href="__CONTROLLER__/userLogout/" data-ajax="false" class="btn btn-danger btn-xs width100"><font class="color-fff">退出登录</font></a></button>
		</div>
		  <a href="__CONTROLLER__/myChange/" data-ajax="false" class="list-group-item">修改资料 <font class="pull-right"><i class="fa fa-angle-right"></i></font></a>
		  <a href="__APP__/Home/Index/myHome/user/<{$userHomeRow[0]['username']}>/" class="list-group-item">我的主页 <font class="pull-right"><i class="fa fa-angle-right"></i></font></a><br>
		  <a href="__APP__/Home/Index/myShare/" class="list-group-item">我的分享 <font class="pull-right"><i class="fa fa-angle-right"></i></font></a>
		  <a href="__APP__/Home/Index/myCollect/" class="list-group-item">我的收藏 <font class="pull-right"><i class="fa fa-angle-right"></i></font></a><br>
		  <a href="__APP__/Home/Work/" class="list-group-item" data-ajax="false">我的记事 <font class="pull-right"><i class="fa fa-angle-right"></i> </font></a><br>
		  <a href="__APP__/Home/Account/" class="list-group-item" data-ajax="false">我的记账 <font class="pull-right"><i class="fa fa-angle-right"></i></font></a><br>
		  <a href="__APP__/Home/Weather/" class="list-group-item" data-ajax="false">我的天气 <font class="pull-right"><i class="fa fa-angle-right"></i></font></a><br>
		<else />
		    <div class="panel-body">
		    	<div class="jumbotron">
		    		<h4>用户未登录</h4>
		    		<button type="button"><a class="btn btn-warning btn-sm width100" href="__CONTROLLER__/index/" data-ajax="false"><font class="color-fff">点击登录</font></a></button>
		    	</div>
		    </div>
		    <div class="panel-body">
		    	<div class="jumbotron">
		    		<h4>加入Marker</h4>
		    		<button type="button"><a class="btn btn-danger btn-sm width100" href="__CONTROLLER__/userSign/" data-ajax="false"><font class="color-fff">点击注册</font></a></button>
		    	</div>
		    </div>
		</if>
	</div>

<include file="Public/footer"/>